package com.ruoyi.web.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.web.domain.PlanBill;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Schema(description = "隐患整改详情")
@Data
public class DangerDetailVO {
    private static final long serialVersionUID = 1L;
    @Schema(description = "id")
    private Integer id;
    @Schema(description = "施工单位")
    private String constructionOrganization;
    @ExcelProperty("主要管控措施")
    private String controlMeasure;
    @Schema(description = "井号")
    private String wellNo;
    @Schema(description = "责任人")
    private String personInCharge;
    @Schema(description = "井别")
    private String wellType;
    @ExcelProperty("所在平台")
    private String hostPlatform;
    @Schema(description = "作业项目")
    private String projectName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "开工日期")
    private Date workStartTime;
    @ExcelProperty("风险因素")
    private String riskFactor;
    @Schema(description = "填报日期")
    private Date fillTime;
    @ExcelProperty("可能导致事故类型")
    private String accidentType;
    @ExcelProperty("下步工序")
    private String nextStep;
    @Schema(description = "施工内容1")
    private String buildTimeOne;
    @Schema(description = "施工内容2")
    private String buildTimeTwo;
    @Schema(description = "施工内容3")
    private String buildTimeThree;
    @Schema(description = "检查计划执行人")
    private String executors;
    @Schema(description = "发现时间")
    private Date findTime;
    @Schema(description = "整改责任人")
    private String rectifyDutyUser;
    @Schema(description = "整改期限")
    private Date rectifyDeadline;
    @Schema(description = "隐患数")
    private Integer hiddenDangerNum;
    @Schema(description = "状态")
    private String status;
    @Schema(description = "整改状态（字典值：1-未整改 2-验收中 3-已整改 4-已逾期 5-已退回）")
    private String riskStatus;
    @Schema(description = "重新整改原因")
    private String reRectifyReason;
    @Schema(description = "需重新整改id")
    private String reRectifyIds;
    @Schema(description = "隐患列表")
    private List<PlanBill> dangerList;
}
